/**
 * 角色权限处理
 * Copyright (c) 2019
 */

import _ from 'lodash'

export default {
  inserted(el, binding, vnode) {
    const { value } = binding
    console.log('el',el)
    console.log('vnode',vnode)
    if(vnode.elm.nodeName == 'INPUT') {

      el.value = _.unescape(value)
    }
  }
}
